package com.sh.tgtools.view;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.sh.tgtools.R;
import com.sh.tgtools.base.BaseActivity;
import com.sh.tgtools.utils.StatusBarUtils;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends BaseActivity {

    @BindView(R.id.common_tv)
    TextView mCommonTv;
    @BindView(R.id.iv_message)
    ImageView mIvMessage;
    @BindView(R.id.common_back)
    ImageView mCommonBack;

    @Override
    protected int getContentView() {
        return R.layout.activity_main;
    }

    @Override
    protected void initViews() {
        StatusBarUtils.setColor(this, getResources().getColor(R.color.colorWhite));
        StatusBarUtils.setTextDark(this, true);
        mCommonTv.setText("TGTools");
    }


    @OnClick({R.id.common_back, R.id.iv_message, R.id.tv_1, R.id.tv_2, R.id.tv_3, R.id.tv_4, R.id.tv_5, R.id.tv_6})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.common_back:
                break;
            case R.id.iv_message:
                break;
            case R.id.tv_1:
                startActivity(new Intent(MainActivity.this, SplashActivity.class));
                break;
            case R.id.tv_2:
                startActivity(new Intent(MainActivity.this, StatusBarActivity.class));
                break;
            case R.id.tv_3:
                break;
            case R.id.tv_4:
                break;
            case R.id.tv_5:
                break;
            case R.id.tv_6:
                break;
        }
    }

}
